package com.simple.mapper;

import com.simple.dto.UserDTO;
import com.simple.pojo.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface UserMapper extends Mapper<User> {

    @Select("select * from tb_user where username = #{username}")
    User login(String username);
}